package main

import "fmt"

type Person struct {
	name string
	sex  byte
	age  int
}

func (p Person) PrintInfo() {
	fmt.Printf("p=%+v", p)
}

func main() {
	p := Person{"Jason", 'm', 33}
	p.PrintInfo()
}
